package cn.example.zjgsu.pojo.result;

import cn.example.zjgsu.pojo.FoodRecord;

import java.util.List;

/**
 * @author: miaopeihan
 * @date: 2020-03-26  04:36
 */
public class ResultFoodRecord {
    private Integer id;

    private String content;

    private String title;

    private Integer praisenumber;

    private List<String> pictures;

    private String time;

    private String label;

    private Integer planid;

    private String userid;

    private Integer cityid;

    private Integer shopid;

    public ResultFoodRecord() {
    }

    public ResultFoodRecord(FoodRecord f) {
        this.id = f.getId();
        this.content = f.getContent();
        this.title = f.getTitle();
        this.praisenumber = f.getPraisenumber();
        this.time = f.getTime();
        this.label = f.getLabel();
        this.planid = f.getPlanid();
        this.userid = f.getUserid();
        this.cityid = f.getCityid();
        this.shopid = f.getShopid();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPraisenumber() {
        return praisenumber;
    }

    public void setPraisenumber(Integer praisenumber) {
        this.praisenumber = praisenumber;
    }

    public List<String> getPictures() {
        return pictures;
    }

    public void setPictures(List<String> pictures) {
        this.pictures = pictures;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getPlanid() {
        return planid;
    }

    public void setPlanid(Integer planid) {
        this.planid = planid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }
}
